package com.tang.companyjob.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.tang.common.entity.companyJob.Company;
import com.tang.common.entity.companyJob.Job;

import java.util.List;

public interface JobService extends IService<Job> {
    List<Job> list(String keywords, Integer currentPage, Integer pageSize);
    int deleteByJobId(int jobId);
    int shelveByJobId(int jobId);

    Integer getJobCount();

    List<Job> listByCompanyName(String keywords, Integer currentPage, Integer pageSize, String companyName);

    Job getJob(Integer jobId);

    List<Job> listBegin(String keywords, Integer currentPage, Integer pageSize);
}
